|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.AWXML.BaseObject
|
+--oracle.AWXML.CalculationSpecification
|
+--oracle.AWXML.Aggregation
A CalculationSpecification that specifies the rules for aggregating data over a hierarchical dimension. A ModelRef is a CalculationSpecification that references a pre-defined Model to specify aggregation over a dimension that is typically a non-hierarchical dimension. A CalculationSpecification is associated with an AggregationDefinition.
An AggregationDefinition owns an ordered set of CalculationSpecification objects. The position in the calculation order determines the order in which Oracle OLAP performs the calculations.
An Aggregation has an AggregationHierarchySpecification. It can also have an AggregationOperator and an AggregationArgument.
For more information on aggregation in analytic workspaces, see the Oracle OLAP Application Developer's Guide.
AggregationDefinition| Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
| Constructor Summary | |
Aggregation(BaseObject input)Creates an Aggregation and adds it to the specified AggregationDefinition. |
|
| Method Summary | |
java.lang.String |
Create(AWConnection connection, int relationOffset)Creates an Aggregation in the current analytic workspace of the specified database connection. |
BaseOperator |
createBaseOperator()Creates a BaseOperator and makes it the AggregationOperator for this Aggregation. |
ConfigurationParameters |
createConfigurationParameters()Creates a ConfigurationParameters object and makes it the AggregationArgument for this Aggregation. |
AggregationArgument |
getAggregationArgument()Gets the AggregationArgument associated with the Aggregation. |
AggregationOperator |
getAggregationOperator()Gets the AggregationOperator associated with the Aggregation. |
void |
setAggregationArgument(AggregationArgument input)Specifies the AggregationArgument for the Aggregation. |
void |
setAggregationOperator(AggregationOperator input)Specifies the aggregation operator for the Aggregation. |
java.lang.String |
WriteToXML()Gets an XML representation of the Aggregation. |
| Methods inherited from class oracle.AWXML.CalculationSpecification |
Create, getAggregationText, getCalculationOrder, setCalculationOrder, setCalculationOrder |
| Methods inherited from class oracle.AWXML.BaseObject |
Alter, CreateAfter, CreateBefore, CreateFirst, DataRead, Delete, getColumnName, getId, getLongName, getLongName, getName, getOwner, getPluralName, getPluralName, getSchema, getShortName, getShortName, setColumnName, setLongName, setLongName, setName, setPluralName, setPluralName, setSchema, setShortName, setShortName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Aggregation(BaseObject input)
Aggregation and adds it to the specified AggregationDefinition.input - The AggregationDefinition that has the new Aggregation.| Method Detail |
public java.lang.String WriteToXML()
Aggregation.String that contains XML that represents the Aggregation.public AggregationOperator getAggregationOperator()
AggregationOperator associated with the Aggregation. The default aggregation operation is addition.AggregationOperator associated with this Aggregation.public void setAggregationOperator(AggregationOperator input)
Aggregation. If you do not specify an operator, then the operation is addition, which the default.input - The AggregationOperator to associate with this Aggregation.public void setAggregationArgument(AggregationArgument input)
AggregationArgument for the Aggregation. The AggregationArgument is a ConfigurationParameters object that has Parameter objects. Each Parameter has a keyword and value that specify an action that affects the aggregation.input - The AggregationArgument for the Aggregation.Parameterpublic AggregationArgument getAggregationArgument()
AggregationArgument associated with the Aggregation.AggregationArgument associated with the Aggregation.public BaseOperator createBaseOperator()
BaseOperator and makes it the AggregationOperator for this Aggregation. The default value of the BaseOperator is SUM, which specifies addition as the method of aggregation. To specify a different operator value, call the setOpCode method of the BaseOperator returned by this method. See also setAggregationOperator(AggregationOperator input).BaseOperator for the Aggregation.public ConfigurationParameters createConfigurationParameters()
ConfigurationParameters object and makes it the AggregationArgument for this Aggregation. See also setAggregationArgument(AggregationArgument input).ConfigurationParameters that is the AggregationArgument for the Aggregation.
public java.lang.String Create(AWConnection connection,
int relationOffset)
Aggregation in the current analytic workspace of the specified database connection.connection - The AWConnection that specifies the database connection.relationOffset - An integer that specifies the position of the Aggregation in the list of CalculationSpecification objects.String that contains success if the method successfully creates an Aggregation.
|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||